#!/bin/sh
virtualenv --python=python3 ./centos_ven
source centos_ven/bin/activate
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ -r requirements.txt

python manage.py makemigrations
python manage.py migrate

python manage.py runserver 0.0.0.0:8004
nohup python manage.py runserver 0.0.0.0:8004& > mxshop.log